package com.tanhua.model.db;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.io.Serializable;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Questionnaire implements Serializable {

    private Long id; //问卷id
    private String name; //问卷名称
    private String cover; //封面图片地址
    private String level; //等级
    private Integer star; //星级

    @TableField(exist = false)
    private List<Problem> questions;
}
